const delegate=require("delegates")

let req={
    say:function(){
        console.log("say")
    },
    name:"zhangsan"
}

var proto={
    age:18
}

new delegate(proto,'req').method('say')

console.log(proto.say())

